<head>
    	<meta charset="UTF-8">
        <base href="/" />
        <title>后台管理</title>
        <!-- Bootstrap -->
        <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
        <link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
        <link href="assets/styles.css" rel="stylesheet" media="screen">
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
            <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <script>
        	var page_struct = ${data!"{}"};
            var user_ = ${userJson!"{}"};
            var pageTitle_ = "${pageTitle!}";
            var menus_ = []
            if(user_.role == 99){
	            menus_ = [
	                {id:1,text:"管理面板",url:"/admin"},
	                {id:2,text:"用户管理",url:"admin/user/list"},
	                {id:5,text:"游戏记录",url:"admin/playLog/list"},
	                {id:4,text:"发包记录",url:"admin/fabLog/list"},
	                {id:4,text:"抢包记录",url:"admin/qiangbLog/list"},
	                {id:4,text:"代理返佣记录",url:"admin/agentLog/list"},
	                {id:4,text:"提现申请",url:"admin/tixianLog/list"},
	                {id:3,text:"参数配置",url:"admin/confCommon/list"},
	            ];
            }else{
            	menus_ = [
	                {id:1,text:"我的推广",url:"agent"},
	                {id:2,text:"我的玩家",url:"agent/user/list"},
	                {id:5,text:"我的业绩",url:"agent/yeji/list"},
	                {id:4,text:"我的奖励",url:"agent/reward/list"},
	                {id:4,text:"我的提现",url:"agent/tixian/list"},
	                {id:4,text:"我的预提",url:"agent/yuti/list"},
	                {id:4,text:"奖励说明",url:"agent/shuoming/list"}
	            ];
            }
        </script>
    </head>